package com.cw.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
* @author ly
* @since 2021-08-16
*/
@ApiModel(value ="")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("FEY.L_JYSQDXX")
public class LJysqdxx implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId("DOCTREQUESTNO")
    private String doctrequestno;

    @ExcelProperty(value = "REQUESTTIME")
    @TableField("REQUESTTIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime requesttime;

    @ExcelProperty(value = "REQUESTER")
    @TableField("REQUESTER")
    private String requester;

    @ApiModelProperty(value = "2:提交, 4 执行, 0 作废,1开立未提交，3门诊申请已收费，-3门诊申请已退费，3和-3在医生开单程序里判断生成")
    @ExcelProperty(value = "SQDSTATUS")
    @TableField("SQDSTATUS")
    private Integer sqdstatus;

    @ExcelProperty(value = "STAYHOSPITALMODE")
    @TableField("STAYHOSPITALMODE")
    private Integer stayhospitalmode;

    @ExcelProperty(value = "BRXZ")
    @TableField("BRXZ")
    private String brxz;

    @ExcelProperty(value = "PATIENTID")
    @TableField("PATIENTID")
    private String patientid;

    @ApiModelProperty(value = "表L_PATIENTINFO,l_jytmxx也有姓名")
    @ExcelProperty(value = "PATIENTNAME")
    @TableField("PATIENTNAME")
    private String patientname;

    @ExcelProperty(value = "SEX")
    @TableField("SEX")
    private String sex;

    @ExcelProperty(value = "BIRTHDAY")
    @TableField("BIRTHDAY")
    private LocalDateTime birthday;

    @ExcelProperty(value = "AGE")
    @TableField("AGE")
    private String age;

    @ExcelProperty(value = "AGE_UNIT")
    @TableField("AGE_UNIT")
    private String ageUnit;

    @ExcelProperty(value = "SECTION")
    @TableField("SECTION")
    private String section;

    @ExcelProperty(value = "BED_NO")
    @TableField("BED_NO")
    private String bedNo;

    @ExcelProperty(value = "REQUESTMODE")
    @TableField("REQUESTMODE")
    private Integer requestmode;

    @ExcelProperty(value = "DIAGNOSTIC")
    @TableField("DIAGNOSTIC")
    private String diagnostic;

    @ExcelProperty(value = "FEE")
    @TableField("FEE")
    private BigDecimal fee;

    @ExcelProperty(value = "EXAMINAIM")
    @TableField("EXAMINAIM")
    private String examinaim;

    @ExcelProperty(value = "EXAMINAIMCODE")
    @TableField("EXAMINAIMCODE")
    private String examinaimcode;

    @ExcelProperty(value = "HISLB")
    @TableField("HISLB")
    private Integer hislb;

    @ExcelProperty(value = "EXECUTETIME")
    @TableField("EXECUTETIME")
    private LocalDateTime executetime;

    @ExcelProperty(value = "EXECUTOR")
    @TableField("EXECUTOR")
    private String executor;

    @ExcelProperty(value = "RECEIVETIME")
    @TableField("RECEIVETIME")
    private LocalDateTime receivetime;

    @ExcelProperty(value = "RECEIVER")
    @TableField("RECEIVER")
    private String receiver;

    @ExcelProperty(value = "SAMPLESTATUS")
    @TableField("SAMPLESTATUS")
    private Integer samplestatus;

    @ExcelProperty(value = "CANCELER")
    @TableField("CANCELER")
    private String canceler;

    @ExcelProperty(value = "CANCELTIME")
    @TableField("CANCELTIME")
    private LocalDateTime canceltime;

    @ExcelProperty(value = "FPHM")
    @TableField("FPHM")
    private String fphm;

    @ExcelProperty(value = "NOTES")
    @TableField("NOTES")
    private String notes;

    @ExcelProperty(value = "YLXH")
    @TableField("YLXH")
    private String ylxh;

    @ExcelProperty(value = "PATHCTRL")
    @TableField("PATHCTRL")
    private Integer pathctrl;

    @ExcelProperty(value = "BRID")
    @TableField("BRID")
    private Long brid;

    @ExcelProperty(value = "ISYY")
    @TableField("ISYY")
    private Integer isyy;

    @ExcelProperty(value = "YYRQ")
    @TableField("YYRQ")
    private LocalDateTime yyrq;

    @ExcelProperty(value = "KSDM")
    @TableField("KSDM")
    private String ksdm;

    @ExcelProperty(value = "PATIENTNO")
    @TableField("PATIENTNO")
    private String patientno;

    @ExcelProperty(value = "COMPUTER")
    @TableField("COMPUTER")
    private String computer;

    @ExcelProperty(value = "YWSYBH")
    @TableField("YWSYBH")
    private String ywsybh;

    @ExcelProperty(value = "SFZH")
    @TableField("SFZH")
    private String sfzh;

    @ExcelProperty(value = "LXDH")
    @TableField("LXDH")
    private String lxdh;

    @ExcelProperty(value = "LXDZ")
    @TableField("LXDZ")
    private String lxdz;

    @ExcelProperty(value = "YBBH")
    @TableField("YBBH")
    private String ybbh;

    @ExcelProperty(value = "HOSAREA")
    @TableField("HOSAREA")
    private Integer hosarea;

    @ApiModelProperty(value = "标识开单程序")
    @ExcelProperty(value = "KDPROGRAM")
    @TableField("KDPROGRAM")
    private String kdprogram;

    @ApiModelProperty(value = "1日间手术、2院前准备、3疑似新冠")
    @ExcelProperty(value = "PATIENTTAG")
    @TableField("PATIENTTAG")
    private String patienttag;

    @ApiModelProperty(value = "EMR电子申请单号码")
    @ExcelProperty(value = "ELECTRREQUESTNO")
    @TableField("ELECTRREQUESTNO")
    private String electrrequestno;


    @ApiModelProperty(value = "SQDSATE")
    @ExcelProperty(value = "SQDSATE")
    @TableField("SQDSATE")
    private Integer sqdsate;

    @ApiModelProperty(value = "是否人工确认收费")
    @ExcelProperty(value = "MANUALCONFIRM")
    @TableField("MANUALCONFIRM")
    private Integer manualconfirm;

    @ApiModelProperty(value = "1身份证")
    @ExcelProperty(value = "CARDTYPE1")
    @TableField("CARDTYPE1")
    private Integer cardtype1;

    @ApiModelProperty(value = "01身份证")
    @ExcelProperty(value = "ID_TYPECODE")
    @TableField("ID_TYPECODE")
    private String idTypecode;

    @ApiModelProperty("检验套件详细")
    @TableField(exist = false)
    private List<LJytmxx> lJysqdxxXmmxList;

    @ApiModelProperty("检验通过，前台根据这个字段控制检验组套是否打勾")
    @TableField(exist = false)
    private boolean jyPass;

    @ApiModelProperty("检验进度")
    @TableField(exist = false)
    private String jyProcess;
}
